<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: LPI2C Driver</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__lpi2c__driver.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">Modules</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">LPI2C Driver</div>  </div>
</div><!--header-->
<div class="contents">
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for LPI2C Driver:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<center><table><tr><td><div class="center"><iframe scrolling="no" frameborder="0" src="group__lpi2c__driver.svg" width="323" height="190"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:group__lpi2c__master__driver"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lpi2c__master__driver.html">LPI2C Master Driver</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__lpi2c__slave__driver"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lpi2c__slave__driver.html">LPI2C Slave Driver</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__lpi2c__master__edma__driver"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lpi2c__master__edma__driver.html">LPI2C Master DMA Driver</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__lpi2c__slave__edma__driver"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lpi2c__slave__edma__driver.html">LPI2C Slave DMA Driver</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga424746e0c18108c3c7233c77899a57c8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lpi2c__driver.html#ga424746e0c18108c3c7233c77899a57c8">_lpi2c_status</a> { <br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8af52a270e301641b8855edf3fcc843814">kStatus_LPI2C_Busy</a> = MAKE_STATUS(kStatusGroup_LPI2C, 0), 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8a6603ec1135f58532c9d4accc3661bc27">kStatus_LPI2C_Idle</a> = MAKE_STATUS(kStatusGroup_LPI2C, 1), 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8a75dbc01ed590c24e787fadb97ba2f684">kStatus_LPI2C_Nak</a> = MAKE_STATUS(kStatusGroup_LPI2C, 2), 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8a5b3634e1fedb0ad8cc38476aac29477e">kStatus_LPI2C_FifoError</a> = MAKE_STATUS(kStatusGroup_LPI2C, 3), 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8aa08b2b2938831610ff303e2415291be6">kStatus_LPI2C_BitError</a> = MAKE_STATUS(kStatusGroup_LPI2C, 4), 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8a5169d7e655df8bde3b4fc6d49ae8777a">kStatus_LPI2C_ArbitrationLost</a> = MAKE_STATUS(kStatusGroup_LPI2C, 5), 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8aa8c558fc024cbde751d7861ea6efca78">kStatus_LPI2C_PinLowTimeout</a>, 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8aa301f3640e63a3d3d951429b9b7ee866">kStatus_LPI2C_NoTransferInProgress</a>, 
<br />
&#160;&#160;<a class="el" href="group__lpi2c__driver.html#gga424746e0c18108c3c7233c77899a57c8a14d70db977f150497fd4a9d232dc2cd8">kStatus_LPI2C_DmaRequestFail</a> = MAKE_STATUS(kStatusGroup_LPI2C, 7)
<br />
 }<tr class="memdesc:ga424746e0c18108c3c7233c77899a57c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">LPI2C status return codes.  <a href="group__lpi2c__driver.html#ga424746e0c18108c3c7233c77899a57c8">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga424746e0c18108c3c7233c77899a57c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Usage Information</h2>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga424746e0c18108c3c7233c77899a57c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__lpi2c__driver.html#ga424746e0c18108c3c7233c77899a57c8">_lpi2c_status</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>LPI2C status return codes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8af52a270e301641b8855edf3fcc843814"></a>kStatus_LPI2C_Busy&#160;</td><td class="fielddoc">
<p>The master is already performing a transfer. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8a6603ec1135f58532c9d4accc3661bc27"></a>kStatus_LPI2C_Idle&#160;</td><td class="fielddoc">
<p>The slave driver is idle. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8a75dbc01ed590c24e787fadb97ba2f684"></a>kStatus_LPI2C_Nak&#160;</td><td class="fielddoc">
<p>The slave device sent a NAK in response to a byte. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8a5b3634e1fedb0ad8cc38476aac29477e"></a>kStatus_LPI2C_FifoError&#160;</td><td class="fielddoc">
<p>Fifo underrun or overrun. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8aa08b2b2938831610ff303e2415291be6"></a>kStatus_LPI2C_BitError&#160;</td><td class="fielddoc">
<p>Transferred bit was not seen on the bus. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8a5169d7e655df8bde3b4fc6d49ae8777a"></a>kStatus_LPI2C_ArbitrationLost&#160;</td><td class="fielddoc">
<p>Arbitration lost error. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8aa8c558fc024cbde751d7861ea6efca78"></a>kStatus_LPI2C_PinLowTimeout&#160;</td><td class="fielddoc">
<p>SCL or SDA were held low longer than the timeout. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8aa301f3640e63a3d3d951429b9b7ee866"></a>kStatus_LPI2C_NoTransferInProgress&#160;</td><td class="fielddoc">
<p>Attempt to abort a transfer when one is not in progress. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga424746e0c18108c3c7233c77899a57c8a14d70db977f150497fd4a9d232dc2cd8"></a>kStatus_LPI2C_DmaRequestFail&#160;</td><td class="fielddoc">
<p>DMA request failed. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
